package com.ddwl.schema.vo.user;

import com.ddwl.schema.vo.shop.ShopVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * 类UserDistListVo.java的实现描述：用户分销列表信息
 *
 * @author zach
 * @Date :2020-09-01 19:18.
 */
@Getter
@Setter
@ApiModel(value = "用户分销列表信息")
public class UserDistListVo {

    private String id;

    @ApiModelProperty(value = "手机号码")
    private String mobile;

    @ApiModelProperty(value = "自增序号")
    private Integer indexNo;

    @ApiModelProperty(value = "直接上级ID")
    private String immediateSuperior;

    @ApiModelProperty(value = "直接上级昵称")
    private String immediateSuperiorName;

    @ApiModelProperty(value = "间接上级ID")
    private String indirectSuperior;
    @ApiModelProperty(value = "间接上级昵称")
    private String indirectSuperiorName;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "邀请码")
    private String inviteCode;

    @ApiModelProperty(value = "真实姓名")
    private String realname;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "性别")
    private Byte sex;

    @ApiModelProperty(value = "生日")
    private String birthday;

    @ApiModelProperty(value = "代理等级 1个人代理 2店铺代理 3区域合伙人")
    private Integer profitLevel;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "所在区域")
    private String regionId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "用户代理区域多个逗号隔开")
    private String agentRegion;

    @ApiModelProperty("用户类型0 普通用户,1分销员,2区域合伙人")
    private Integer type;

    @ApiModelProperty(value = "所属平台")
    private String product;

    @ApiModelProperty(value = "来源（0微信，1 分销app,2web注册页）")
    private String source;

    @ApiModelProperty(value = "用户推广订单总量(只统计用户付款的订单)")
    private Integer totalOrder;

    @ApiModelProperty(value = "用户推广总金额(只统计用户付款的订单)")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "推广用户数")
    private Integer totalUseUser;

    @ApiModelProperty(value = "总分享次数")
    private Integer totalShare;

    @ApiModelProperty(value = "创建时间")
    private Instant gmtCreated;

    @ApiModelProperty(value = "修改时间")
    private Instant gmtModified;
    @ApiModelProperty(value = "区域经理是否公司账号 0：否，1：是")
    private Byte companyAccount;

    @ApiModelProperty(value = "推广商城用户数")
    private Integer totalMallUseUser;

    @ApiModelProperty("店铺信息")
    private ShopVo shop;
}
